<template>
  <div class="detailBottomBarBase">
    <div class="detailBottomBar">
      <div></div>
      <div>
        <button class="btn btn-1">加入购物袋</button>
        <button class="btn btn-2">立即购买</button>
      </div>
    </div>
  </div>
</template>
<script setup>

</script>
<style lang="scss" scoped>
.detailBottomBarBase {
  &::after {
    display: block;
    content: "";
    width: 7.5rem;
    height: 1rem;
  }
  .detailBottomBar {
    z-index: 900;
    position: fixed;
    bottom: 0;
    padding: 0.2rem;
    width: 7.5rem;
    border-top: 1px solid rgba($color: #ccc, $alpha: 0.5);
    background: #f6f6f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .btn + .btn {
      margin-left: 0.2rem;
    }
    .btn {
      padding: 0.16rem 0.3rem;
      border: none;
      background: #fff;
      border-radius: 0.5rem;
      font-size: 0.26rem;
      &.btn-1 {
        color: #845bff;
        border: 1px solid #845bff;
      }
      &.btn-2 {
        color: #fff;
        background: #845bff;
        border: 1px solid #845bff;
      }
    }
  }
}
</style>